<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>My JSP 'index.jsp' starting page</title>
  </head>
  <body>
   			<h1>用户登录</h1>
   			<s:form action="UserAction_login"  method="post">
   				<s:textfield name="username" label="用户名"></s:textfield>
   				<s:textfield name="password" label="密码"></s:textfield>
   				<s:submit value="登录"></s:submit>
   			</s:form>
   			<h1>用户注册</h1>
   			<s:form action="UserAction_register"  method="post">
   				<s:textfield name="username" label="用户名"></s:textfield>
   				<s:textfield name="password" label="密码"></s:textfield>
   				<s:textfield name="userId" label="userId"></s:textfield>
   				<s:textfield name="identity" label="identity"></s:textfield>
   				<s:textfield name="isDelete" label="isDelete"></s:textfield>
   				<s:submit value="注册"></s:submit>
   			</s:form>
   			<a href="../page/Course_list.jsp" >收缴信息表</a>
   			
   			
     <form action="CourseAction_list" method="post">
         UserName： <input type="text" name="queryText" value="" />
         <input type="submit" value="查询" />
     </form>
 
     <table width="70%" border="1px" align="center" cellpadding="0"
	         cellspacing="0">
	         <thead>
	             <tr bgcolor="#ff0">
	                 <th width="25%">编号</th>
	                 <th width="25%">姓名</th>
	                 <th width="25%">信息</th>
	                 <th width="25%">操作</th>
	                 <th width="25%">操作</th>
	             </tr>
	         </thead>
         <tbody>
           	<c:forEach var="lists" items="${lists}">
					<tr>
					<td>${lists.id}</td>
					<td>${lists.courseId}</td>
					<td>${lists.courseName}</td>
					<td>${lists.teacherId}</td>
                     <td><a href="">编辑</a> <a
                        href="">删除</a></td>
                 </tr>
            </c:forEach>
      </tbody>
     </table>
   </body>
</html>
